<form id="edit" name="edit" method="post" action="">
<input type="hidden" name="id_detail" id="id_detail" value="<?php echo $row->id_detail;?>" >
<input type="hidden" name="id_peminjaman" id="id_peminjaman" value="<?php echo $row->id_peminjaman;?>" >
<input type="hidden" name="id_member" id="id_member" value="<?php echo $row->id_member;?>" >
<table width="342" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="118">Nim</td>
    <td width="208"><?php echo $row->nim; ?></td>
  </tr>
  <tr>
    <td>Nama Mahasiswa</td>
    <td><?php echo $row->nama; ?></td>
  </tr>
  <tr>
    <td>Judul</td>
    <td><?php echo bukuDropdown($row->id_buku) ?></td>
  </tr>
  <tr>
    <td>Tgl Pinjam</td>
    <td><?php echo form_error('tgl'); ?> 
	<input type="text" name="tgl" id="tgl" value="<?php echo $row->tgl_pinjam;?>" ></td>
  </tr>
  <tr>
    <td>Tgl Harus Kembali</td>
    <td><?php echo form_error('tgl_hrs_kembali'); ?> 
	<input type="text" name="tgl_hrs_kembali" id="tgl_grs_kembali" value="<?php echo  $row->tgl_hrs_kembali;?>" ></td>
  </tr>
  <tr>
    <td>Tgl Kembali</td>
    <td><?php echo form_error('tgl_kembali'); ?> 
	<input type="text" name="tgl_kembali" id="tgl_kembali" value="<?php echo  $row->tgl_kembali;?>" ></td>
  </tr>
    <tr>
    <td></td>
    <td><input type="submit" name="simpan" id="simpan" value="simpan"></td>
  </tr>
</table>
</form>